package com.taxigang.client.uibinder.base;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.ui.Button;
import com.taxigang.client.ui.map.MapView.PanelType;
import com.taxigang.client.uibinder.TaxiGangPanel;

public class CreateStep extends TaxiGangPanel {
	
	protected void bindControlButtons(Button backButton, final PanelType panelType){
		
		backButton.addClickHandler(new ClickHandler() {
			
			@Override
			public void onClick(ClickEvent event) {
				taxiGangRoute.show(panelType);				
			}
		});
		
		
	}
}
